﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotDog.HotDogIngredients;
using HotDog.HotDogPipeline;

namespace YummyHotDog
{
    //public class HungryDude
    //{
    //    public HungryDude()
    //    {
    //    }

    //    public static void Main()
    //    {
    //        var sausage = new SausageOrderHandler();

    //        var mustard = new MustardOrderHandler();

    //        var ketchup = new KetchupOrderHandler();

    //        var lettuce = new LettuceOrderHandler();

    //        var choppedOnion = new ChoppedOnionOrderHandler();

    //        var tomtato = new TomatoOrderHandler();

    //        sausage.SetSuccessor(mustard);

    //        mustard.SetSuccessor(ketchup);

    //        ketchup.SetSuccessor(lettuce);

    //        lettuce.SetSuccessor(choppedOnion);

    //        choppedOnion.SetSuccessor(tomtato);

    //        //var dude = new HungryDude();

    //        var hotDogDesire = Ingredients.Sausage | Ingredients.Ketchup | Ingredients.Tomtato;

    //        IHotDogOrder hotDog = new HotDogOrder();

    //        sausage.ProcessRequest(hotDog, hotDogDesire);

    //        Console.ReadKey();
    //    }
    //}
}
